package com.wp.data_structure.code;

/**
 * @author wangpeng
 * @description ******
 * @date 2021/12/3 14:39
 */
public class GraphTest {
    public static void main(String[] args) {


    }
}

class Graph {

    public Graph () {

    }

    public Graph (int s) {

    }



    private Vertex[] vertexArray;
    private int[][] edgeArray;

    public Vertex[] getVertexArray() {
        return vertexArray;
    }

    public void setVertexArray(Vertex[] vertexArray) {
        this.vertexArray = vertexArray;
    }

    public int[][] getEdgeArray() {
        return edgeArray;
    }

    public void setEdgeArray(int[][] edgeArray) {
        this.edgeArray = edgeArray;
    }

    private class Vertex {
        private String value;
        private int degree;

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public int getDegree() {
            return degree;
        }

        public void setDegree(int degree) {
            this.degree = degree;
        }
    }


}
